let data_model_service_data_model = require("./data_model_service_data_model")
let data_model_service_page = require("./data_model_service_page")
let data_model_service_todo = require("./data_model_service_todo")

//需要客制化servcie在这里定义对接

//data_model_service的客制，规则是[table name]+"_add"作为key,就会调用这里的方法，否则调用data_model_service的方法，当然这里的方法可以调用原方法的逻辑
let data_model_service_customs = {
    "sys_datamodel_add": data_model_service_data_model.add, //数据模型同步数据库表、数据权限
    "sys_datamodel_update": data_model_service_data_model.update, //数据模型同步数据库表
    "sys_datamodel_del": data_model_service_data_model.del, //数据模型同步数据库表、数据权限
    "sys_page_add": data_model_service_page.add, //页面同步修改功能权限
    "sys_page_del": data_model_service_page.del, //页面同步修改功能权限
    "bpm_process_todo_getrows": data_model_service_todo.getrows, //代办过滤只看自己的
}

module.exports = { data_model_service_customs }